import { createApp } from 'vue'
import 'virtual:svg-icons-register'
import './style.css'
import './styles/index.scss'
import App from './App.vue'
import router from './router'
import store from './store'
import { useRem } from './utils/flexible'
import mLibs from './libs'
import useTheme from './utils/theme'
// 图片懒加载
import mDirective from './directives'
import './permission.js'
useTheme()
createApp(App)
  .use(router)
  .use(store)
  .use(useRem)
  .use(mLibs)
  .use(mDirective)
  .mount('#app')
